package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseBaseDTO;
import com.xuecheng.api.content.model.qo.QueryCourseBaseModel;
import com.xuecheng.api.content.model.vo.CourseBaseVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * <p></p>
 *
 * @Description:
 */
@Api(value = "课程基本信息api",tags="课程基本信息api接口路径管理")
public interface CourseBaseApi {

    @ApiOperation("课程基本信息条件分页查询")
    PageVO<CourseBaseDTO> queryCourseList(PageRequestParams params, QueryCourseBaseModel  model);


    @ApiOperation("课程基本信息添加")
    CourseBaseDTO createCourseBase(CourseBaseVO baseVO);


    @ApiOperation("根据id查询课程基本信息")
    CourseBaseDTO getCourseBaseById(Long courseBaseId);

    @ApiOperation("修改课程基本信息")
    CourseBaseDTO modifyCourseBase(CourseBaseVO baseVO);


    @ApiOperation("教学机构提交课程")
    void commitCourseBase(Long courseId);

    @ApiOperation(value = "课程预览")
    Object previewCourse(Long courseId,Long companyId);
}
